package TestThread;

/**
 * @Author Mr.Wen
 * @Version 1.0
 */
public class Test {
    public static void main(String[] args) {
        MyThread mythread1 = new MyThread();
        MyThread mythread2 = new MyThread();

        mythread1.setName("线程1");
        mythread2.setName("线程2");

        mythread1.start();
        mythread2.start();
    }
}
